package com.pzh.logistics.service;

import com.pzh.logistics.mbg.model.Transit;
import com.pzh.logistics.mbg.model.TransitOrder;
import com.pzh.logistics.pojo.VO.OrderVO;

import java.util.List;

public interface OrderService {

    OrderVO placeOrder(TransitOrder form);

    int senderPay(Integer orderId, Integer userId);

    int recipientPay(Integer orderId);

    int collectConfirm(Integer orderId, Integer courierId);

    int signConfirm(Integer orderId);

    int orderCompleteConfirm(Integer orderId, Integer userId);

    int arriveStationConfirm(List<Integer> idList, Integer stationId);

    List<TransitOrder> findByUserId(Integer userId);

    TransitOrder findByOrderId(Integer id);

    List<Transit> orderHistory(Integer orderId);

}
